//
//  WSChannelMoreCell.m
//  CharonTVProject
//
//  Created by karong on 2023/8/1.
//

#import "WSChannelMoreCell.h"
@interface WSChannelMoreCell ()
@property (weak, nonatomic) IBOutlet UIImageView *rankImageView;
@property (weak, nonatomic) IBOutlet UILabel *rankLabel;

@end

@implementation WSChannelMoreCell

- (void)setDataWithObject:(WSVideo *)object index:(NSInteger)index {
    [super setDataWithObject:object];
    self.rankImageView.image = WSIMG(WSSF(@"icon_%ld", (MIN(index, 4))));
    self.rankLabel.text = WSSF(@"%ld", (long)index);
}

@end
